package com.erytech.linktalk.dao.domain;

import java.io.Serializable;
import java.sql.Timestamp;

public class Message implements Serializable {

	long id;
	
	String roomId;
	
	String from;
	
	String to;
	
	String body;
	
	Timestamp postTime;
	
	public long getId() {
		return id;
	}

	public void setId(long messgeId) {
		this.id = messgeId;
	}

	public String getRoomId() {
		return roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Timestamp getPostTime() {
		return postTime;
	}

	public void setPostTime(Timestamp postTime) {
		this.postTime = postTime;
	}

}
